package com.xbongbong.pro.workreport.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 *　一键提醒发送报告
 *
 * @Author: hongxiao
 * @date: 2019-11-13 20:49
 */

@Getter
@Setter
@ToString
public class WorkReportPushRemindDTO extends BaseDTO {
    /**
     * 报告类型
     */
    @NotNull(message = "{dto.msg.workReportPushRemind.reportType.NotNull}")
    @Min(value = 1, message = "{dto.msg.workReportPushRemind.reportType.Min}")
    @Max(value = 3, message = "{dto.msg.workReportPushRemind.reportType.Max}")
    private Integer reportType;
    /**
     * 报告时间
     */
    @NotNull(message = "{dto.msg.workReportPushRemind.reportDate.NotNull}")
    private List<String> reportDate;
    /**
     * id
     */
    private String pid;
    /**
     * 类型(staff,department)
     */
    private String treeType;
}
